﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007DF RID: 2015
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueCollectionScRsp : IMessage<GetRogueCollectionScRsp>, IMessage, IEquatable<GetRogueCollectionScRsp>, IDeepCloneable<GetRogueCollectionScRsp>, IBufferMessage
	{
		// Token: 0x170019A2 RID: 6562
		// (get) Token: 0x06005A6D RID: 23149 RVA: 0x000F3143 File Offset: 0x000F1343
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueCollectionScRsp> Parser
		{
			get
			{
				return GetRogueCollectionScRsp._parser;
			}
		}

		// Token: 0x170019A3 RID: 6563
		// (get) Token: 0x06005A6E RID: 23150 RVA: 0x000F314A File Offset: 0x000F134A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueCollectionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170019A4 RID: 6564
		// (get) Token: 0x06005A6F RID: 23151 RVA: 0x000F315C File Offset: 0x000F135C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueCollectionScRsp.Descriptor;
			}
		}

		// Token: 0x06005A70 RID: 23152 RVA: 0x000F3163 File Offset: 0x000F1363
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueCollectionScRsp()
		{
		}

		// Token: 0x06005A71 RID: 23153 RVA: 0x000F3184 File Offset: 0x000F1384
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueCollectionScRsp(GetRogueCollectionScRsp other) : this()
		{
			this.gAPCAPJGGIE_ = other.gAPCAPJGGIE_.Clone();
			this.retcode_ = other.retcode_;
			this.fIOFEMAOALK_ = other.fIOFEMAOALK_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005A72 RID: 23154 RVA: 0x000F31D6 File Offset: 0x000F13D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueCollectionScRsp Clone()
		{
			return new GetRogueCollectionScRsp(this);
		}

		// Token: 0x170019A5 RID: 6565
		// (get) Token: 0x06005A73 RID: 23155 RVA: 0x000F31DE File Offset: 0x000F13DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PBHEJHECOFJ> GAPCAPJGGIE
		{
			get
			{
				return this.gAPCAPJGGIE_;
			}
		}

		// Token: 0x170019A6 RID: 6566
		// (get) Token: 0x06005A74 RID: 23156 RVA: 0x000F31E6 File Offset: 0x000F13E6
		// (set) Token: 0x06005A75 RID: 23157 RVA: 0x000F31EE File Offset: 0x000F13EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170019A7 RID: 6567
		// (get) Token: 0x06005A76 RID: 23158 RVA: 0x000F31F7 File Offset: 0x000F13F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ENLENIJDDPL> FIOFEMAOALK
		{
			get
			{
				return this.fIOFEMAOALK_;
			}
		}

		// Token: 0x06005A77 RID: 23159 RVA: 0x000F31FF File Offset: 0x000F13FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueCollectionScRsp);
		}

		// Token: 0x06005A78 RID: 23160 RVA: 0x000F3210 File Offset: 0x000F1410
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueCollectionScRsp other)
		{
			return other != null && (other == this || (this.gAPCAPJGGIE_.Equals(other.gAPCAPJGGIE_) && this.Retcode == other.Retcode && this.fIOFEMAOALK_.Equals(other.fIOFEMAOALK_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005A79 RID: 23161 RVA: 0x000F3274 File Offset: 0x000F1474
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.gAPCAPJGGIE_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.fIOFEMAOALK_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005A7A RID: 23162 RVA: 0x000F32CF File Offset: 0x000F14CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005A7B RID: 23163 RVA: 0x000F32D7 File Offset: 0x000F14D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005A7C RID: 23164 RVA: 0x000F32E0 File Offset: 0x000F14E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.gAPCAPJGGIE_.WriteTo(ref output, GetRogueCollectionScRsp._repeated_gAPCAPJGGIE_codec);
			this.fIOFEMAOALK_.WriteTo(ref output, GetRogueCollectionScRsp._repeated_fIOFEMAOALK_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005A7D RID: 23165 RVA: 0x000F3340 File Offset: 0x000F1540
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.gAPCAPJGGIE_.CalculateSize(GetRogueCollectionScRsp._repeated_gAPCAPJGGIE_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.fIOFEMAOALK_.CalculateSize(GetRogueCollectionScRsp._repeated_fIOFEMAOALK_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005A7E RID: 23166 RVA: 0x000F33A4 File Offset: 0x000F15A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueCollectionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.gAPCAPJGGIE_.Add(other.gAPCAPJGGIE_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.fIOFEMAOALK_.Add(other.fIOFEMAOALK_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005A7F RID: 23167 RVA: 0x000F3402 File Offset: 0x000F1602
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005A80 RID: 23168 RVA: 0x000F340C File Offset: 0x000F160C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 90U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.fIOFEMAOALK_.AddEntriesFrom(ref input, GetRogueCollectionScRsp._repeated_fIOFEMAOALK_codec);
					}
				}
				else
				{
					this.gAPCAPJGGIE_.AddEntriesFrom(ref input, GetRogueCollectionScRsp._repeated_gAPCAPJGGIE_codec);
				}
			}
		}

		// Token: 0x0400231D RID: 8989
		private static readonly MessageParser<GetRogueCollectionScRsp> _parser = new MessageParser<GetRogueCollectionScRsp>(() => new GetRogueCollectionScRsp());

		// Token: 0x0400231E RID: 8990
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400231F RID: 8991
		public const int GAPCAPJGGIEFieldNumber = 4;

		// Token: 0x04002320 RID: 8992
		private static readonly FieldCodec<PBHEJHECOFJ> _repeated_gAPCAPJGGIE_codec = FieldCodec.ForMessage<PBHEJHECOFJ>(34U, PBHEJHECOFJ.Parser);

		// Token: 0x04002321 RID: 8993
		private readonly RepeatedField<PBHEJHECOFJ> gAPCAPJGGIE_ = new RepeatedField<PBHEJHECOFJ>();

		// Token: 0x04002322 RID: 8994
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04002323 RID: 8995
		private uint retcode_;

		// Token: 0x04002324 RID: 8996
		public const int FIOFEMAOALKFieldNumber = 11;

		// Token: 0x04002325 RID: 8997
		private static readonly FieldCodec<ENLENIJDDPL> _repeated_fIOFEMAOALK_codec = FieldCodec.ForMessage<ENLENIJDDPL>(90U, ENLENIJDDPL.Parser);

		// Token: 0x04002326 RID: 8998
		private readonly RepeatedField<ENLENIJDDPL> fIOFEMAOALK_ = new RepeatedField<ENLENIJDDPL>();
	}
}
